package com.study.zouchao.superproject.mypublishtask;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.study.zouchao.superproject.mypublishtask.model.entity.MyPublishTaskListResult;

import java.util.List;

/**
 * Created by Administrator on 2017/6/20.
 */

public interface IPublishTaskListContract {
    interface IPublishTaskListModel {

    }
    interface IPublishTaskListView {
//        void setAdapter(TravelRecyclerViewAdapter adapter);

        void showRefreshingLoading(boolean isShow);
        void showSeeMoreLoading(boolean isShow);
        void setSeeMoreLoading(View footerLoadingView);
        void showSnackBar(String title);
        void showChooseDialog(View v, final int taskId, List<MyPublishTaskListResult.TaskItemBean.EnrolledListBean> enrolledList, int taskStatus);
    }
    interface IPublishTaskListPresenter {
        void onRefreshingData();
        void loadSeeMore();
        void initRecyclerView(RecyclerView rv);
        void onDestroyPresente();
        void chooseUser(String enrolledUserName, int taskId);
    }
}
